<template>
  <div>
    <div>
      <div class="tit">
        <van-nav-bar
          title="我的案件委托"
          Slots
          left-text="返回"
          right-text="历史咨询"
          left-arrow
          @click-left="onClickLeft"
          @click-right="onClickRight"
        />
      </div>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    onClickLeft() {
      this.$router.go(-1);
    },
    onClickRight() {
      Toast("按钮");
    },
  },
};
</script>

<style lang="scss" scoped>
.tit {
  color: #333333;
  .van-nav-bar {
    ::v-deep .van-icon {
      color: #333333;
    }
    ::v-deep .van-nav-bar__text {
      font-size: 0.18rem;
      color: #333333;
    }
  }
}
</style>
